<HTML>
<HEAD>
<meta NAME="author" CONTENT="Judit Vasko-Szedlar">
<link REL="stylesheet" TYPE="text/css" HREF="../../../marvinmanuals.css" TITLE="Style">

<TITLE>MarvinSpace demo</TITLE>
<SCRIPT type="text/javascript" LANGUAGE="JavaScript">
function setSynchronized()
{
   document.MSpaceApplet.setProperty( "SynchronousMode", document.Synchronized.chbox.checked==1 );
}
function resetView()
{
    if(document.Synchronized.chbox.checked==1) {
        document.MSpaceApplet.setProperty( "Reset", "All" );
    }
    else {
        document.MSpaceApplet.setProperty( "Reset", "Active" );
    }
}
</SCRIPT>

</HEAD>

<BODY LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff">

<H1>MarvinSpace</H1>

<p>
This example shows the multicell view of MarvinSpace.
</p>
<table align="center">
<tr><td>
<script language="JavaScript" src="../../../marvin.js"></script>
<script language="JavaScript">
<!--
mspace_name="MSpaceApplet";
mspace_begin(mspace_name,"../../..",600,600);
mspace_param("progressbar","true");
mspace_param("selectionpanel","false");
mspace_param("rowCount","2");
mspace_param("columnCount","2");
mspace_param("cell0","http://www.chemaxon.com/marvinspace/data/1AID.pdb");
mspace_param("cell1","http://www.chemaxon.com/marvinspace/data/1AID.pdb");
mspace_param("cell2","http://www.chemaxon.com/marvinspace/data/1AID.pdb");
mspace_param("cell3","http://www.chemaxon.com/marvinspace/data/1AID.pdb");
mspace_end();
//-->
</script>
</td>
<!--
<td>
Load molecule <br>
<form name="Load">
<input type="file" name="datafile" size=40 onClick="setFileName()"><br>
</td>
-->
<td align="center">
<form action="" name="Synchronized">
<input type="checkbox" name="chbox" onClick="setSynchronized()">Synchronized manipulation<br>
<input type="button" name="button" value="Reset view" onClick="resetView()"><br>
</form>
</td></tr>
</table>

<blockquote>
<p>MarvinSpace supports multicell display mode that is the main canvas can be divided equally to
cells that are organized in rows and columns. The cells have different control, they can have
different data to display and different display options.
</p>
<p>To create a multicell mode applet, new applet parameters have to be used:
<pre>
    &lt;param name="rowCount" value="2"/&gt;
    &lt;param name="columnCount" value="2"/&gt;
</pre>
</p>
<p>To load input molecules to the cells the following parameters can be used:
<pre>
    &lt;param name="cell0" value="http://www.chemaxon.com/marvinspace/data/1AID.pdb"&gt;
    &lt;param name="cell1" value="http://www.chemaxon.com/marvinspace/data/1AID.pdb"&gt;
    &lt;param name="cell2" value="http://www.chemaxon.com/marvinspace/data/1AID.pdb"&gt;
    &lt;param name="cell3" value="http://www.chemaxon.com/marvinspace/data/1AID.pdb"&gt;
</pre>
</p>
<p>Synchronous manipulation (rotate, zoom, shift, etc.) can be enabled by the <code>"SynchronousMode"</code> property:
    <pre>
        document.MSpaceApplet.setProperty( "SynchronousMode", document.Synchronized.chbox.checked==1 );
    </pre>
</p>

</blockquote>

<center><div class="lenia">&nbsp;</div></center>
<p>
<center>
<font size="-2" face="helvetica">

Copyright &copy; 2004-2010
<a href="http://www.chemaxon.com">ChemAxon Ltd.</a>
&nbsp;&nbsp;&nbsp;All rights reserved.
</font>
</center>

</BODY>
</HTML>


